package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbOrderRefundService;
import com.ge.modules.dao.TbOrderRefundDao;
import com.ge.modules.entity.TbOrderRefundEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class TbOrderRefundServiceImpl implements TbOrderRefundService {
	@Autowired
	private TbOrderRefundDao tbOrderRefundDao;
	
	@Override
	public TbOrderRefundEntity queryObject(Integer id){
		return tbOrderRefundDao.queryObject(id);
	}
	
	@Override
	public List<TbOrderRefundEntity> queryList(Map<String, Object> map){
		return tbOrderRefundDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tbOrderRefundDao.queryTotal(map);
	}
	
	@Override
	public void save(TbOrderRefundEntity orderRefund){
		tbOrderRefundDao.save(orderRefund);
	}
	
	@Override
	public void update(TbOrderRefundEntity orderRefund){
		tbOrderRefundDao.update(orderRefund);
	}
	
	@Override
	public void delete(Integer id){
		tbOrderRefundDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tbOrderRefundDao.deleteBatch(ids);
	}
	
}
